Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CGMES GL import #2992

Merged
merged 11 commits into from
May 2, 2024
Merged

Fix CGMES GL import #2992

merged 11 commits into from
May 2, 2024

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Apr 26, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?
No

What kind of change does this PR introduce?
Bug fix

What is the current behavior?
GL import requires the CoordinateSystem to have crsName equal to "WGS84", whereas this field is optional

What is the new behavior (if this is a feature change)?
GL import does not query for that parameter (and therefore does not check it)

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@flo-dup flo-dup requested a review from annetill April 26, 2024 15:06
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@zamarrenolm
Copy link
Member

the name can be kept for export ...

Signed-off-by: Luma <zamarrenolm@aia.es>
@flo-dup
Copy link
Contributor Author

flo-dup commented Apr 30, 2024

the name can be kept for export ...

Yes indeed, we could keep the name for export. This requires some more work though, as in your commit you're writing it whatever the input name was. Is that really worth the effort?

flo-dup added 7 commits April 30, 2024 16:10
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
This reverts commit cd71a84.

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Copy link

sonarqubecloud bot commented May 2, 2024

@flo-dup flo-dup merged commit 84678f1 into main May 2, 2024
6 checks passed
@flo-dup flo-dup deleted the fix_cgmes_gl_import branch May 2, 2024 09:01
olperr1 pushed a commit that referenced this pull request May 2, 2024
* Remove CoordinateSystem crsName from query
* Not exporting the CoordinateSystem crsName
* Remove use of crsName in unit tests
* Fix warnings in modified files
* Add unit test and clean others
* Improve coverage and fix exception message
* Fix typo and factorize common code

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
(cherry picked from commit 84678f1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants